/*
 * @Author: ✨Fireflx 
 * @Date: 2022-02-15 10:09:13 
 * @Last Modified by: ✨Fireflx
 * @Last Modified time: 2022-02-16 22:57:24
 */

const router = require('koa-router')()
const {account} = require('../controller')

router.prefix('/accounts')

router.get('/key',account.key)
router.post('/login',account.userLogin)
router.post('/reg',account.userReg)
router.post('/verify',account.userVerify)
router.post('/uppwd',account.updatePwd)
router.post('/uppsn',account.updatePersonal)

module.exports = router